]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
panel: Don't expand camera quick settings items
authorFlorian Müllner <fmuellner@gnome.org>
Mon, 14 Aug 2023 18:39:34 +0000 (20:39 +0200)
committerMarge Bot <marge-bot@gnome.org>
Tue, 15 Aug 2023 22:33:25 +0000 (22:33 +0000)
The camera indicator currently doesn't have any items, but if
we were to add one, it would almost certainly be a regular
toggle rather than a slider that needs expanding.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2891>

js/ui/panel.js

index 6fb90ac2fb1392932fb1735eb2016add46e43a6e..59007860835ce390c0dfec2cc553df4e91364239 100644 (file)
@@ -422,11 +422,11 @@ class QuickSettings extends PanelMenu.Button {
         this._indicators.add_child(this._system);
 
         this._addItems(this._system.quickSettingsItems, N_QUICK_SETTINGS_COLUMNS);
-        this._addItems(this._camera.quickSettingsItems, N_QUICK_SETTINGS_COLUMNS);
         this._addItems(this._volumeOutput.quickSettingsItems, N_QUICK_SETTINGS_COLUMNS);
         this._addItems(this._volumeInput.quickSettingsItems, N_QUICK_SETTINGS_COLUMNS);
         this._addItems(this._brightness.quickSettingsItems, N_QUICK_SETTINGS_COLUMNS);
 
+        this._addItems(this._camera.quickSettingsItems);
         this._addItems(this._remoteAccess.quickSettingsItems);
         this._addItems(this._thunderbolt.quickSettingsItems);
         this._addItems(this._location.quickSettingsItems);